<div id="header">
<a href="<?php echo $base_url?>"><h2>PHP302.COM</h2></a>
<div id="topmenu">
<ul>
	<?php foreach (project::config('menu')->front['main'] as $k=>$main):?>
	<li id="<?php echo $k?>"><a href="<?php echo lib_url::base($main[1])?>"><?php echo $main[0]?></a></li>
	<?php endforeach;?>
</ul>
</div>
</div>

<div id="top-panel">
      <div id="panel">
          <ul>
              <li><a href="<?php echo lib_url::base('tag/top10')?>" class="report">前十阅读</a></li>
              <li><a href="<?php echo lib_url::base('rss.xml')?>" class="feed">订阅</a></li>
          </ul>
      </div>
</div>